package com.discordia.asap;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class AsapActivity extends Activity {

	static String server = "www.asap.altervista.org";
	static String script_folder = "/script";
	
	final public static CharSequence[] tagItems = {"Animals", "Art", "Fashion", "Games",
			"Movies", "Music", "Random", "Request", "Science", "Society",
			"Sport", "Travels", "Vehicles", "18+"};

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		setContentView(R.layout.main);

	}

	/**
	 * Called when the gallery is requested.
	 * 
	 * @param view
	 *            reference to the widget that was clicked.
	 */
	public void loadGallery(View view) {
		Intent intent = new Intent(AsapActivity.this, AsapGallery.class);
		startActivity(intent);
	}

	/**
	 * Called when the Take button is clicked.
	 * 
	 * @param view
	 *            reference to the widget that was clicked.
	 */
	public void loadTake(View view) {
		Intent intent = new Intent(AsapActivity.this, AsapTakeUpload.class);
		startActivity(intent);
	}

}
